package org.jsola.hr.dto.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.dto.BaseDTO;

import static org.jsola.hr.example.CheckInPeopleExample.E_NAME;

/**
 * 【用工单位】excel导入对象
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(description = "【用工单位】excel导入对象")
public class CompanyImportDTO extends BaseDTO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "行号")
    private String id;

    @ApiModelProperty(notes = "单位名称", example = E_NAME)
    @ExcelProperty(value = "单位名称")
    private String name;

    @ApiModelProperty(notes = "联系人姓名", example = E_NAME)
    @ExcelProperty(value = "联系人姓名")
    private String legalPerson;

    @ApiModelProperty(notes = "联系电话", example = E_NAME)
    @ExcelProperty(value = "联系电话")
    private String telephone;

    @ApiModelProperty(notes = "联系邮箱", example = E_NAME)
    @ExcelProperty(value = "联系邮箱")
    private String email;

    @ApiModelProperty(notes = "单位规模", example = E_NAME)
    @ExcelProperty(value = "单位规模")
    private String personSize;

    @ApiModelProperty(notes = "所在行业", example = E_NAME)
    @ExcelProperty(value = "所在行业")
    private String industry;

    @ApiModelProperty(notes = "备注", example = E_NAME)
    @ExcelProperty(value = "备注")
    private String profile;

    @ApiModelProperty(notes = "所属分组", example = "福州区域/测试分组")
    @ExcelProperty(value = "所属分组")
    private String groupName;

}

